package com.qst.crop.entity;

/**
 * @author YGD
 * @日期： 2025-07-07-09-20
 * @habit: like girls
 **/
import java.math.BigDecimal;

public class FinaceUserDetails {
    private BigDecimal rate;
    private String phone;
    private String introduce;
    private String bankName;

    public FinaceUserDetails() {
    }

    public BigDecimal getRate() {
        return this.rate;
    }

    public String getPhone() {
        return this.phone;
    }

    public String getIntroduce() {
        return this.introduce;
    }

    public String getBankName() {
        return this.bankName;
    }

    public void setRate(final BigDecimal rate) {
        this.rate = rate;
    }

    public void setPhone(final String phone) {
        this.phone = phone;
    }

    public void setIntroduce(final String introduce) {
        this.introduce = introduce;
    }

    public void setBankName(final String bankName) {
        this.bankName = bankName;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof FinaceUserDetails)) {
            return false;
        } else {
            FinaceUserDetails other = (FinaceUserDetails)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label59: {
                    Object this$rate = this.getRate();
                    Object other$rate = other.getRate();
                    if (this$rate == null) {
                        if (other$rate == null) {
                            break label59;
                        }
                    } else if (this$rate.equals(other$rate)) {
                        break label59;
                    }

                    return false;
                }

                Object this$phone = this.getPhone();
                Object other$phone = other.getPhone();
                if (this$phone == null) {
                    if (other$phone != null) {
                        return false;
                    }
                } else if (!this$phone.equals(other$phone)) {
                    return false;
                }

                Object this$introduce = this.getIntroduce();
                Object other$introduce = other.getIntroduce();
                if (this$introduce == null) {
                    if (other$introduce != null) {
                        return false;
                    }
                } else if (!this$introduce.equals(other$introduce)) {
                    return false;
                }

                Object this$bankName = this.getBankName();
                Object other$bankName = other.getBankName();
                if (this$bankName == null) {
                    if (other$bankName != null) {
                        return false;
                    }
                } else if (!this$bankName.equals(other$bankName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof FinaceUserDetails;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $rate = this.getRate();
        result = result * 59 + ($rate == null ? 43 : $rate.hashCode());
        Object $phone = this.getPhone();
        result = result * 59 + ($phone == null ? 43 : $phone.hashCode());
        Object $introduce = this.getIntroduce();
        result = result * 59 + ($introduce == null ? 43 : $introduce.hashCode());
        Object $bankName = this.getBankName();
        result = result * 59 + ($bankName == null ? 43 : $bankName.hashCode());
        return result;
    }

    public String toString() {
        return "FinaceUserDetails(rate=" + this.getRate() + ", phone=" + this.getPhone() + ", introduce=" + this.getIntroduce() + ", bankName=" + this.getBankName() + ")";
    }
}
